package org.suk.dp.decorator;

/**
 * Description: 服饰抽象类<br/>
 * @version V1.0  2017/6/20 13:48  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Finery extends Person {
    protected Person component;

    void decorate(Person person){
        this.component = person;
    }

    @Override
    void show() {
        if(null != this.component){
            this.component.show();
        }
    }
}
